package com.CMS.client;

import com.CMS.server.domain.Privilege;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import java.util.List;

@RemoteServiceRelativePath("privilege")
public interface PrivilegeService extends RemoteService{

	public List<Privilege> fetch();
	
	public void create(String description, Long idType, Long idPath);
	
	public void remove(Long id);
	
	public void update(String description, boolean flagDelete,Long id, String idType, String idPath);
}
